package com.wanmait.movie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.wanmait.movie.entity.OrderDetails;
import com.wanmait.movie.entity.Orders;
import com.wanmait.movie.entity.User;
import com.wanmait.movie.entity.VO.OrderDTO;
import com.wanmait.movie.entity.VO.OrdersDetailsDTO;

import java.util.List;

public interface OrdersService extends IService<Orders> {
    PageInfo<OrderDTO> getOrderList(Integer pageNum, Integer userId, Integer screeningId, Integer cinemaId, Integer lobbyId);

    List<OrdersDetailsDTO> getOrdersDetailsListByOrderNumber(String orderNumber);

    List<OrderDTO> getUserOrdersList(User user);
}
